/**
 *
 */
package com.aizhixin.lab.company.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.validation.constraints.NotNull;

import com.aizhixin.lab.common.entity.AbstractEntity;

/**
 * 学院实体对象
 *
 * @author zhen.pan
 */
@SuppressWarnings("serial")
@ApiModel(description = "学院完整信息")
@Entity(name = "T_COLLEGE")
@ToString
public class College extends AbstractEntity {

    @ApiModelProperty(value = "学院名称")
    @NotNull
    @Column(name = "NAME")
    @Getter
    @Setter
    private String name;

	@ApiModelProperty(value = "描述")
    @Column(name = "description")
    @Getter
    @Setter
    private String description;

}
